From: Zeeshan Ali (Khattak) Date: Sat, 9 Aug 2014 15:03:11 +0000 (+0100) Subject: location: Move settings to gsettings-desktop-schemas X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2259 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ce2c90a534d70d124651ce0a377ad028f383dd34;p=gnome-shell.git location: Move settings to gsettings-desktop-schemas Since these settings are now going to be accessed by gnome-control-center as well, its more appropriate for them to live in gsettings-desktop-schemas. https://bugzilla.gnome.org/show_bug.cgi?id=734483 --- diff --git a/data/org.gnome.shell.gschema.xml.in.in b/data/org.gnome.shell.gschema.xml.in.in index f60772e5c..1274e989e 100644 --- a/data/org.gnome.shell.gschema.xml.in.in +++ b/data/org.gnome.shell.gschema.xml.in.in @@ -74,7 +74,6 @@ - - - - - - - - - - - true - <_summary>Geolocation services are enabled. - <_description> - If true, applications are allowed to access location information. - - - - 'exact' - <_summary>The maximum accuracy level of location. - <_description> - Configures the maximum level of location accuracy applications are - allowed to see. Valid options are 'country', 'city', 'neighborhood', - 'street', and 'exact' (typically requires GPS receiver). Please keep in - mind that this only controls what GeoClue will allow applications to see - and they can find user's location on their own using network resources - (albeit with street-level accuracy at best). - - - - diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 7444ee767..052f77cc6 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -9,7 +9,7 @@ const PanelMenu = imports.ui.panelMenu; const PopupMenu = imports.ui.popupMenu; const Shell = imports.gi.Shell; -const LOCATION_SCHEMA = 'org.gnome.shell.location'; +const LOCATION_SCHEMA = 'org.gnome.system.location'; const MAX_ACCURACY_LEVEL = 'max-accuracy-level'; const ENABLED = 'enabled';